var express=require('express');
var router=express.Router();

var Private=require('../controllers/privateCtl.js');

var PrivateAdd=Private.PrivateAdd;
var PrivateSearch=Private.PrivateSearch;
var SearchCondition=Private.SearchCondition;

var ScheduleSearch=Private.ScheduleSearch;
var IpadPrivateVaildSchedule=Private.IpadPrivateVaildSchedule;

var MakeExcel=Private.MakeExcel;

router.post('/privateAdd',PrivateAdd);
router.post('/privateSearch',PrivateSearch);

router.post('/searchCondition',SearchCondition)

router.post('/scheduleSearch',ScheduleSearch);

router.post('/ipadPrivateVaildSchedule',IpadPrivateVaildSchedule);

router.post('/makeExcel',MakeExcel);
module.exports=router;
